package ccgl.com.model;

import java.util.Date;

/**
 * 客户对象
 * @author Administrator
 *
 */
public class MKh {
	private String id;
	private String xm;// 名称
	private String qq;// 名称
	private String dh;// 电话
	private String xb;// 性别
	private int nl;// 年龄
	private String dz;// 地址
	private String bz;// 备注
	private String userid;//用户id
	private Date lrsj;

	public String getUserid() {
		return userid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getXm() {
		return xm;
	}

	public void setXm(String xm) {
		this.xm = xm;
	}

	public String getQq() {
		return qq;
	}

	public void setQq(String qq) {
		this.qq = qq;
	}

	public String getDh() {
		return dh;
	}

	public void setDh(String dh) {
		this.dh = dh;
	}

	public String getXb() {
		return xb;
	}

	public void setXb(String xb) {
		this.xb = xb;
	}

	public int getNl() {
		return nl;
	}

	public void setNl(int nl) {
		this.nl = nl;
	}

	public String getDz() {
		return dz;
	}

	public void setDz(String dz) {
		this.dz = dz;
	}

	public String getBz() {
		return bz;
	}

	public void setBz(String bz) {
		this.bz = bz;
	}
	
	

	public Date getLrsj() {
		return lrsj;
	}

	public void setLrsj(Date lrsj) {
		this.lrsj = lrsj;
	}


	@Override
	public String toString() {
		return "MKh [id=" + id + ", xm=" + xm + ", qq=" + qq + ", dh=" + dh
				+ ", xb=" + xb + ", ll=" + nl + ", dz=" + dz + ", bz=" + bz
				+ ", lrsj=" + lrsj + "]";
	}

	public Object[] getPropertiesArray() {
		Object[] array = new Object[10];
		array[0] = id;
		array[1] = xm;
		array[2] = qq;
		array[3] = dh;
		array[4] = xb;
		array[5] = nl;
		array[6] = dz;
		array[7] = bz;
		array[8] = userid;
		array[9] = lrsj;
		return array;
	}

	public Object[] getPropertiesUpdateArray() {
		Object[] array = new Object[8];
		array[0] = xm;
		array[1] = qq;
		array[2] = dh;
		array[3] = xb;
		array[4] = nl;
		array[5] = dz;
		array[6] = bz;
		array[7] = lrsj;
		return array;
	}

}
